package com.example.icongyou.bean;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;

public class ScoreUpdateRequest implements Serializable {

    @SerializedName("studentId")
    private String studentId;

    @SerializedName("courseId")
    private String courseId;

    // 使用 String 来发送分数，确保后端 BigDecimal 正确解析
    @SerializedName("score")
    private String score;

    public ScoreUpdateRequest(String studentId, String courseId, String score) {
        this.studentId = studentId;
        this.courseId = courseId;
        this.score = score;
    }

    // Getters
    public String getStudentId() { return studentId; }
    public String getCourseId() { return courseId; }
    public String getScore() { return score; }
}